package com.bwie.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 高洋
 * @Classname Bargain
 * @Description
 * @Date 2022/7/7 10:23
 */
@Data
public class Bargain {

    /**
     * ID
     */
    private Integer bargainId;
    /**
     * 底价
     */
    private String bargainFloor;
    /**
     * 活动开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bargainStart;
    /**
     * 活动结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bargainEnd;
    /**
     * 砍价分享标题
     */
    private String bargainTitle;
    /**
     * 每刀金额
     */
    private String bargainPrice;
    /**
     * 活动分享描述
     */
    private String bargainDescribe;

    private String bargainImg;

    private Integer shopId;

    private Double bargainPrices;

    private String shopName;

    private String shopImgUrl;

    private Double shopPrice;
}
